Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle python BoolOp for multiple arguments #1698

Merged
merged 4 commits into from
Sep 23, 2024
Merged

Handle python BoolOp for multiple arguments #1698

merged 4 commits into from
Sep 23, 2024

Conversation

KuechA
Copy link
Contributor

@KuechA KuechA commented Sep 20, 2024

This PR aims to support python BoolOps for more than 2 values. It also adds some tests to determine if the EOG makes sense for BoolOps with different operators (and and or).

To the reviewer(s): Please check if the EOG checks actually make sense!

Fixes #1699

Copy link
Member

@oxisto oxisto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have test functions like assertLiteralValue and assertLocalName that should make the tests more readable

Copy link
Member

@oxisto oxisto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good but probably needs an EOG expert. @konradweiss

@oxisto
Copy link
Member

oxisto commented Sep 23, 2024

Looks good but probably needs an EOG expert. @konradweiss

Should be ok since we create the binary operators correctly.

Copy link

sonarcloud bot commented Sep 23, 2024

@oxisto oxisto merged commit 911456e into main Sep 23, 2024
3 checks passed
@oxisto oxisto deleted the ak/pythonBoolOp branch September 23, 2024 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python currently supports only 2 operands in the BoolExpr
3 participants